package vn.lumi.smarthome.io.database;

import vn.lumi.smarthome.provider.SmartHomeProvider;
import android.net.Uri;
import android.provider.BaseColumns;

public class TBL_Device implements BaseColumns{
	
	public static final String DEVICES="get_devices";
	public static final String DEVICE_STATE_ID = "get device state id";
	public static final String DEVICE_TYPE="get_device_type";
	public static final String CONTROL_NORMAL_DEVICE = "control device";
	public static final String CONTROL_RGB= "change rgb color";
	
	public static final Uri CONTENT_URI_DEVICES=Uri.parse("content://"+SmartHomeProvider.AUTHORITY+"/"+DEVICES);
	public static final Uri CONTENT_URI_DEVICE_TYPE=Uri.parse("content://"+SmartHomeProvider.AUTHORITY+"/"+DEVICE_TYPE);
	public static final Uri CONTENT_URI_CONTROL_NORMAL_DEVICE=Uri.parse("content://"+SmartHomeProvider.AUTHORITY+"/"+CONTROL_NORMAL_DEVICE);
	public static final Uri CONTENT_URI_CONTROL_RGB=Uri.parse("content://"+SmartHomeProvider.AUTHORITY+"/"+CONTROL_RGB);
	public static final Uri CONTENT_URI_DEVICE_STATE_ID=Uri.parse("content://"+SmartHomeProvider.AUTHORITY+"/"+DEVICE_STATE_ID);
	
	public static final String TYPE_ID="type_id";
	public static final String ROOM_ID="room_id";
	public static final String NAME="name";
	public static final String STATE_ID="state_id";
	public static final String IS_CONTROL="is_control";
	
}
